#pragma once
//============================================================================
// Copyright (C) 2003-2013 Brett R. Jones 
// All Rights Reserved
//
// You may redistribute and/or modify for non commercial and commercial uses 
// provided this copyright notice remains in place and is not modified
//
// This code is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//
// brettjones1900@gmail.com
// http://www.p2panarchy.com
//============================================================================

#pragma pack(push) 
#pragma pack(1)
#define MAX_RC_SYS_PKT_ANN_LIST_LEN 4080
class RcSysPktAnnList : public RcSysPktHdr
{
public:
	//=== vars ===//
	U16			m_u16ListCnt;
	U16			m_u16Flags;
	U32			m_u16Reason;
	U32			m_u16Res1;
	U32			m_u32Res2;
	U8			m_au8List[ MAX_RC_SYS_PKT_ANN_LIST_LEN ];

	//=== constructor ===//
	RcSysPktAnnList();

	//=== methods ===//
	int		EmptyLen( void );
	void	FinalizeLen( void );
	RCODE	AddAnn( RcSysPktAnnBase * pgRcSysPktAnn );
};

#pragma pack(pop)
